package demo;

/**
 * 测试数组
 *
 * @author sun.ye
 * @since 2020-07-21 15:20
 */
public class ArrayTest {

    public static void main(String[] args) {
        int[][] array = new int[3][3];
        for (int i = 0; i < 2; i++) {
            for (int j = 0; j < 2; j++) {
                array[i][j] = (i+1) * (j+1);
            }
        }
        for (int i = 0; i < 2; i++) {
            System.out.println();
            for (int j = 0; j < 2; j++) {
                System.out.print(array[i][j]);
            }
        }
    }
}